package com.qingzhuge.exception;


import com.qingzhuge.common.HttpCode;

/**
 * @author : zero.xiao
 * @description :登录错误
 * @modified :
 */
public class LoginException extends BaseException {
    private static final long serialVersionUID = 4056239866810295356L;

    public LoginException() {
        super(HttpCode.LOGIN_FAIL.message());
    }

    public LoginException(String message) {
        super(message);
    }

    @Override
    public int getCode() {
        return HttpCode.LOGIN_FAIL.value();
    }
}
